package com.example.service;

import com.example.entity.LiuyanMessage;
import com.example.entity.LiuyanMessageDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;


@Service
public interface LiuYanService {
    /*
    * 登录
     */

    /*
    * 注册
     */


    void add(LiuyanMessageDTO liuyanMessageDTO);



    PageInfo<LiuyanMessage> selectPage(Integer pageNum, Integer pageSize, Integer authorId,String authorName,String userRole);

    void deleteById(Integer id);
}
